package com.gdkj.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Table(name = "cmf_enter_room_record")
public class EnterRoomRecord {

    /**
     * 主键id
     */
    @Id
    private Integer id;

    /**
     * 流名
     */
    private String stream;

    /**
     * 主播id
     */
    private Integer liveUid;

    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 1 普通 2 游客
     */
    private Integer type;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
